package dongshi.daddy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
//@EnableJpaAuditing
//@ComponentScan(basePackages = {"com.geekbang"})
@EnableTransactionManagement
//用于扫描Dao @Repository
//@EnableJpaRepositories(basePackages = {"com.geekbang"})
//用于扫描JPA实体类 @Entity，默认扫本包当下路径
//@EntityScan(basePackages = {"com.geekbang"})
public class Nacos_CustomerApplication {

    public static void main(String[] args) {
        SpringApplication.run(Nacos_CustomerApplication.class, args);
    }
}
